<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>无法对代码使用反斜杠折行</title>
</head>

<body>
    <h1>JavaScript 语句</h1>
    <p id="demo">您不能用反斜杠对代码行进行折行。</p>
    <script>
    document.getElementById("demo").innerHTML = /
    "Hello Kitty";
    </script>
</body>

</html>